package com.ddtech.business.bank.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ddtech.business.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 题库问题选项表
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("question_bank_question_option")
@ApiModel(value="BankQuestionOption对象", description="题库问题选项表")
public class QuestionBankQuestionOption extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "题库id")
    private String bankId;

    @ApiModelProperty(value = "问题id")
    private String questionId;

    @ApiModelProperty(value = "排序号")
    private Long orderNum;

    @ApiModelProperty(value = "答案选项描述")
    private String answerDesc;

    @ApiModelProperty(value = "答案图片")
    private String answerImg;

    @ApiModelProperty(value = "是否为正确答案 0否 1是")
    private Integer isTrue;

    public static final String BANK_ID="bank_id";
    public static final String QUESTION_ID="question_id";
    public static final String IS_TRUE="is_true";

}
